#pragma once
#include "ImgResource.h"

ref class Action
{
private:
	System::Windows::Forms::PictureBox^  actionImg;
	System::Windows::Forms::Label^  label;
	int type;
	ImgResource ^res;
public:
	Action(ImgResource ^_res,int type,System::Windows::Forms::ContextMenuStrip ^menuRB);
	void set(ImgResource ^res,int type,int x,int y);
	void paint();
	void null();
	int get(char parameter);
	void move(int x,int y);
	void resize(int x,int y,int w,int h);
	void setText(System::String^ newText);
	System::Windows::Forms::PictureBox^  getActionImg();
	System::Windows::Forms::Label^  getLabel();
	Action^ MakeEqual(Action^ other);
};
